<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>学员信息增加页</title>
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
</head>
<body>
	<div class="container">
		<form action="${pageContext.request.contextPath}/studentAdd" method="post">
			<div class="form-group">
				<label for="student-name">姓名</label> <input type="text"
					class="form-control" id="student-name" name="studentName" placeholder="输入学员姓名">
			</div>
			<div class="form-group">
				<label for="idcard">身份证号</label> <input type="text"
					class="form-control" id="idcrad" name="idcard" placeholder="输入身份证 ">
			</div>
			<div class="form-group">
				<label for="idcard">性别</label>
				<div class="form-check form-check-inline">
					<input checked class="form-check-input"type="radio"
						name="sex"id="man" value="男"> <label
						class="form-check-label" for="man">男</label>
				</div>
				<div class="form-check form-check-inline">
					<input class="form-check-input" type="radio"
						name="sex" id="women" value="女"> <label
						class="form-check-label" for="women">女</label>
				</div>
			</div>
			<div class="form-group">
				<label for="idcard">班级选择</label> <select class="custom-select" name="classId">
					<c:forEach items="${clazzList }" var="clazz">
					<option value="${clazz.id }">${clazz.clazzName }</option>
					</c:forEach>
				</select>
			<br></br>
			<button type="submit" class="btn btn-primary">添加</button>
		</form>
	</div>	
</body>
</html>